<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <title>layui</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" th:href="@{/lay/lib/layui-v2.5.5/css/layui.css}" media="all">
    <link rel="stylesheet" th:href="@{/lay/css/public.css}" media="all">
    <link rel="stylesheet" type="text/css" th:href="@{/lay/dist/notice.css}">
    <link rel="stylesheet" th:href="@{/css/icon-font.css}">



</head>
<body>
<div class="layuimini-container">
    <div class="layuimini-main">
        <input id="deid" th:value="${session.user.getDeid()}" hidden="hidden">
        <input id="roleId" th:value="${session.user.getRoleid()}" hidden="hidden" >
        <fieldset class="table-search-fieldset">
            <legend>搜索信息</legend>
            <div style="margin: 10px 10px 10px 10px">
                <form class="layui-form layui-form-pane" action="">
                    <div class="layui-form-item">

                        <div class="layui-inline">
                            <label class="layui-form-label">学生姓名</label>
                            <div class="layui-input-inline">
                                <input type="text" name="studentName" autocomplete="off" class="layui-input" placeholder="支持模糊" >
                            </div>
                        </div>

                        <div class="layui-inline">
                            <button type="submit" class="layui-btn layui-btn-primary"  lay-submit lay-filter="data-search-btn"><i class="layui-icon"></i> 搜 索</button>
                        </div>
                    </div>
                </form>
            </div>
        </fieldset>


        <fieldset style="display: none" id="part" class="table-search-fieldset">
            <legend>发送通知信息</legend>
            <div style="margin: 10px 10px 10px 10px">
                <form class="layui-form layui-form-pane" action="">
                    <div class="layui-form-item">

                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">通知信息</label>
                            <div class="layui-input-block">
                                <textarea id="message" name="message" class="layui-textarea"></textarea>
                            </div>
                        </div>


                        <div class="layui-inline">
                            <button  type="submit" class="layui-btn layui-btn-primary"  lay-submit lay-filter="send"><i class="layui-icon"></i> 发 送</button>
                        </div>
                    </div>
                </form>
            </div>
        </fieldset>

        <script type="text/html" id="toolbarDemo">
            <div class="layui-btn-container">
                <button class="layui-btn layui-btn-normal layui-btn-sm data-add-btn" lay-event="selectAll">查询全部</button>

                    <button id="addEmail" style="background-color: coral" class="layui-btn layui-btn-normal layui-btn-sm data-add-btn" lay-event="notice">通知选中用户</button>

            </div>
        </script>

        <table  class="layui-hide" id="exam" lay-filter="currentTableFilter"></table>

        <script  type="text/html" id="currentTableBar">

            {{#  if(d.applystate ==2){ }}
            <a  class="layui-btn layui-btn-normal layui-btn-xs data-count-edit" lay-event="Full">查看详细</a>
            <a id="score"  style="background-color: coral" class="layui-btn layui-btn-normal layui-btn-xs data-count-edit" lay-event="enterScore">录入分数</a>
            {{#  } else { }}
            <a class="layui-btn layui-btn-normal layui-btn-xs data-count-edit" lay-event="Full">查看详细</a>
            {{#  } }}
        </script>

        <script  type="text/html" id="admin">
            <a class="layui-btn layui-btn-normal layui-btn-xs data-count-edit" lay-event="Full">查看详细</a>
            {{#  if(d.applystate ==4){ }}
            <a  style="background-color: #5FB878"    class="layui-btn layui-btn-normal layui-btn-xs data-count-edit" lay-event="pass">通过申请</a>
            <a  style="background-color: #da4f49"    class="layui-btn layui-btn-normal layui-btn-xs data-count-edit" lay-event="NO">拒绝申请</a>
            {{#  } }}
        </script>

    </div>
</div>
<script th:src="@{/lay/lib/jquery-3.4.1/jquery-3.4.1.min.js}"></script>
<script th:src="@{/lay/lib/layui-v2.5.5/layui.js}" charset="utf-8"></script>
<script th:src="@{/js/societyFor/exam/examCode.js}"></script>
<script th:src="@{/js/learn/tool/addContainer.js}"></script>
<script src="lay/dist/notice.js"></script>
<script>

</script>

</body>
</html>